import { Component, ContentChild, OnInit, Input, TemplateRef } from '@angular/core';

import { CommonService } from '../../../../core/services/common.service';

@Component({
    selector: 'op-data-grid-column',
    template: `<ng-content></ng-content>`
})
export class DataGridColumnComponent implements OnInit {
    @ContentChild(TemplateRef, {static: false}) template;
    @Input() title: string;
    @Input() dataField: string;
    @Input() width: string;
    @Input() templateName: string;
    @Input() allowOverflow: boolean = false;

    constructor(private commonService: CommonService) { }

    ngOnInit(): void { }
}